package A1_1_Thoroughbred;

public class ThoroughbredTest {
    // 主方法用于测试
    public static void main(String[] args) {
        Thoroughbred horse = new Thoroughbred("Deer", "Fly", 2018);
        System.out.println("马的母亲：" + horse.getMother());
        System.out.println("马的父亲：" + horse.getFather());
        System.out.println("马的当前年龄：" + horse.getCurrentAge() + "岁");
    }
}
